<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
   <%@ page import="com.chi.pojo.Advise" %>
   <%@ page import="com.chi.page.Page" %>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html >
<html>
<head>
		<title></title>
		<style type="text/css">
		#e{
		
			height:40px;
			margin-top: 20px;
		}
		</style>
		<!--适配于手机终端和PAD等移动终端，禁止缩放-->
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta charset="UTF-8" />
		<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	</head>

<body>
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
		<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
		<div class="container">
	<div class="row clearfix">
		<div class="col-md-12 column">
			<ul class="nav nav-tabs">
				<li>
					 <a href="${pageContext.request.contextPath}/dept_findAll.action">部门表</a>

				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/queryfind.action">员工表 </a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/contract_find_findByFirstPage.action">部门合同</a>
				</li>
				<li>
					  <a href="http://localhost:8080/spring03_1prac/Human_Resource_find_findAll.action">人才资源管理</a>
				</li>
				<li>
					  <a href="http://localhost:8080/spring03_1prac/transfer_find_findAll.action">人员调动管理</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/eva_findAll.action">员工绩效评估</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/hrmr_find_findHRReport.action">HR月报</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath}/leave_findAll.action">考勤</a>
				</li>
				<li class="active">
					 <a href="${pageContext.request.contextPath}/advise_findAll.action">招聘表</a>
				</li>
				
				
			</ul>
			
				<img src = "${pageContext.request.contextPath }/picszq/pc1.jpg" >
			<!-- <div class="jumbotron" id = "d1"></div> -->
			<div class="col-md-4 column"></div><div class="col-md-4 column" id = "e">
			</div>
			<div class="col-md-4 column"></div>
			<table class="table">
			
				<thead>
					<tr>
					     <th>
							编号
						</th>
						<th>
							名称
						</th>
						<th>
							电子邮箱
						</th>
						<th>
							电话
						</th>
						<th>
							种类
						</th>
						<th>
							详细描述
						</th>
					</tr>
					
				</thead>
				
			
				<tbody>
				<c:forEach items="${adviList}" var="d"><!-- 循环选项 -->
					<tr>
						<td>
							${d.id}
						</td>
						<td>
							${d.name}
						</td>
						<td>
							${d.email }
							
						</td>
						<td>
							${d.phone }
							
						</td>
						<td>
						${d.subject }
							
						</td>
						<td>
						${d.info }
							
						</td>
						<td><!-- 员工操作栏 -->
						<a href="${pageContext.request.contextPath }/advise_delete.action?id=${d.id }">删除</a>
						
						</td>
					</tr>
					</c:forEach>
				</tbody>
			</table>
			
			
			<ul class="pagination"> <!-- 分页  -->
				<li>
					 <a href="${pageContext.request.contextPath }/advise_Page.action?pageNo=1">首页</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath }/advise_Page.action?pageNo=${pageNo -1}">上一页</a>
				</li>
				
				<li>
					 <a href="${pageContext.request.contextPath }/advise_Page.action?pageNo=${pageNo + 1}">下一页</a>
				</li>
				<li>
					 <a href="${pageContext.request.contextPath }/advise_Page.action?pageNo=10 ">尾页</a>
				</li>
			</ul>
		</div>
	</div>
	<!-- 添加页面 -->
</div>

<script>
	


</script>

</body>
</html>